using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using BONSAI.Common;
using BONSAI.Common.DTO;
using BONSAI.DAL;

namespace BONSAI.BLL
{
	public class PaymentsBO
	{
		public PaymentsDTO GetByID(string id)
		{
			return (new PaymentsDAO()).GetByID(id);
		}

		public IList<PaymentsDTO> GetAll()
		{
			return (new PaymentsDAO()).GetAll();
		}

		public string Insert(PaymentsDTO payments)
		{
			return (new PaymentsDAO()).Insert(payments);
		}

		public void UpdateByID(PaymentsDTO payments)
		{
			(new PaymentsDAO()).UpdateByID(payments);
		}

		public void DeleteByID(string id)
		{
			(new PaymentsDAO()).DeleteByID(id);
		}
	}
}

